package com.meeting.meeting.service;

import com.github.pagehelper.PageInfo;
import com.meeting.meeting.model.Department;

import java.util.List;

public interface DepartmentService {
    int deleteByPrimaryKey(Integer departmentid);

    int insert(Department record);

    Department selectByPrimaryKey(Integer departmentid);

    List<Department> selectAll();

    PageInfo<Department> selectAll(Integer pageNum, Integer pageSize, Department record);

    int updateByPrimaryKey(Department record);
}
